package adaptors;

import javax.swing.tree.DefaultMutableTreeNode;



public class TabTreeNodeAdaptor extends DefaultMutableTreeNode {

	TabReference data;
	
	private static final long serialVersionUID = 1L;

	
	public TabTreeNodeAdaptor(TabReference t)	{
		super(t.toString());
		data = t;
	}
	
	public String getTabName()	{
		return data.toString();
	}
	
	public String getToolTipText()	{
		return data.getToolTipText();
	}
	
	public String toString()	{
		return data.toString();
	}

	public TabReference getPayload() {
		return data;
	}
	
}
